package com.guagua.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "注册请求")
public class RegisterDTO {
    
    @NotBlank(message = "用户名不能为空")
    @Schema(description = "用户名")
    private String username;
    
    @NotBlank(message = "密码不能为空")
    @Schema(description = "密码")
    private String password;
    
    @NotBlank(message = "昵称不能为空")
    @Schema(description = "昵称")
    private String nickname;
    
    @Email(message = "邮箱格式不正确")
    @Schema(description = "邮箱")
    private String email;
} 